package cn.lwj.vueDemo.control;

import cn.lwj.common.control.BaseControl;
import cn.lwj.common.util.JsonResult;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("demo")
public class DemoControl extends BaseControl {

    @ResponseBody
    @RequestMapping("/test")
    public JsonResult test() {
        String fydm = getRequestValue("fydm");
        return JsonResult.responseData(JsonResult.SUCCESS, "desd", fydm + "hahah");
    }

}
